//
//  NSObject+HDCityModel.m
//  app
//
//  Created by D on 15/5/12.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import "HDCityModel.h"

@implementation HDCityModel

-(instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.cityName = dict[@"name"];
        self.Pyinsort = dict[@"Pyinsort"];
        self.pid = dict[@"id"];
        self.provinceName = dict[@"level1name"];
        self.hot = dict[@"HOT"];
    }
    return self;
}

+(instancetype)modelWithDict:(NSDictionary *)dict
{
    return [[self alloc] initWithDict:dict];
}

@end
